package com.cloud.mapper;

import com.cloud.entity.mes.MesQmMaintenanceDtl;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MesQmMaintenanceDtlMapper {
    Integer insertMesQmMaintenanceDtl(@Param("mesQmMaintenanceDtl") MesQmMaintenanceDtl mesQmMaintenanceDtl);

    Integer updateMesQmMaintenanceDtl(@Param("mesQmMaintenanceDtl") MesQmMaintenanceDtl mesQmMaintenanceDtl);

    Integer deleteMesQmMaintenanceDtl(@Param("mesQmMaintenanceDtl") MesQmMaintenanceDtl mesQmMaintenanceDtl);

    MesQmMaintenanceDtl selectMesQmMaintenanceDtl(@Param("mesQmMaintenanceDtl") MesQmMaintenanceDtl mesQmMaintenanceDtl);

    List<MesQmMaintenanceDtl> getListByMaintenanceIds(@Param("maintenanceIds") List<Integer>  maintenanceIds);
}
